Xbasic

API_GETUSERNAME Function

Syntax

Name_String as C = API_GetUserName()

Description

API_GETUSERNAME() returns the name of Windows logon name of the current user

Example

? API_GETUSERNAME()
= "ALincoln"

Limitations

Desktop applications only.

See Also